<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Gift Management</title>
	<link rel="stylesheet" type="text/css" href="../../public/components/wdatePicker/skin/default/datepicker.css" />
	<link rel="stylesheet" type="text/css" href="../../public/components/wdselecttext/wdselecttext.css"/>
	<link rel="stylesheet" type="text/css" href="../../public/components/wddialog/css/wddialog.css"/>
	<link rel="stylesheet" type="text/css" href="../../public/components/wdGrid/wdGrid.css"/>
	<link rel="stylesheet" type="text/css" href="../../css/reset.css"/>
	<link rel="stylesheet" type="text/css" href="../../css/lpgl.css"/>
</head>
<body>
	<div class="hp-container">
		
	</div>
	
	
	<script type="text/javascript" src="../../public/components/jquery-1.10.2.min.js"></script>
	<script type="text/javascript" src="../../public/js/loginCheck.js"></script>
	<script type="text/javascript" src="../../public/components/storejson2.min.js"></script>
	<script type="text/javascript" src="../../../common/js/jquery.i18n.properties.js"></script>
	<script type="text/javascript" src="../../public/components/wdatePicker/wdatePicker.js"></script>
	<script type="text/javascript" src="../../public/components/wddialog/wddialog.js"></script>
	<script type="text/javascript" src="../../public/components/wdselecttext/wdselecttext.js"></script>
	<script type="text/javascript" src="../../public/components/wdGrid/wdGrid.js"></script>
	<script type="text/javascript" src="../../public/components/moment.min.js"></script>
	<script type="text/javascript" src="../../public/js/ractive-legacy.js"></script>
	<script type="text/javascript" src="../../public/js/constants.js"></script>
	<script type="text/javascript" src="../../public/js/index.js"></script>
	<script src="../../js/lpgl/lpgl.js"></script>
	<script type="text/ractive" id="lpgl-template">
		<div class="hp-search-box">
			<h1>Gift Management</h1>
			<div class="hp-search-form hp-lpgl-search">
				<p>
					<span>Gift name：</span><input type="text" name="lpmc" value="{{lpmc}}" />
					<span>Exchange the required school coin：</span>
					<input type="text" name="dhxbzs" value="{{zsxb}}" on-keyup="jc" maxlength="9" class="hp-input-xz" />
					<i class="gray">——</i>
					<input type="text" name="dhxbzd" value="{{zdxb}}" on-keyup="jc" maxlength="9" class="hp-input-xz ml-5" />
					<span>Remain：</span>
					<input type="text" name="syslzs" value="{{zssy}}" on-keyup="jc" maxlength="9" class="hp-input-xz" />
					<i class="gray">——</i>
					<input type="text" name="syslzx" value="{{zdsy}}" on-keyup="jc" maxlength="9" class="hp-input-xz ml-5" />
				</p>
				<p>
					<span>Update time：</span>
					<input type="text" name="sjsjks" class="ad-dateinput Wdate" id="startDate" value="{{sjkssj}}"
                               onclick="WdatePicker({readOnly:true,maxDate:'#F{$dp.$D(\'endDate\')}'})" readonly />
					<i class="gray">——</i>
					<input type="text" name="sjsjjs" class="ad-dateinput Wdate ml-5" id="endDate" value="{{sjjssj}}"
                               onclick="WdatePicker({readOnly:true,minDate:'#F{$dp.$D(\'startDate\')}'})" readonly/>
					<input type="button" value="Inquire" class="hp-btn-cx fr" on-click="search"/>
				</p>
			</div>
		</div>
		<div class="hp-content">
			<input type="button" value="Add a gift" class="hp-btn-xz" on-click="xzlp"/>
			<div class="hp-table-list">
				<!--
                	礼品名称
                	兑换所需积分
                	礼品数量
                	兑换数
                	剩余数量
                	礼品状态
                	更新时间
                	创建日期
                	操作
                -->
			    <table id="wd-table"></table>
			    <div id="wd-pager"></div>
			</div>
		</div>
	</script>
</body>
</html>
